package demo.service;

import demo.entity.Student;

import java.util.List;

public interface StudentService {
    boolean add(Student student);
    boolean update(Student student);
    boolean delete(String id);
    Student selectOne(String id);
    List<Student> selectAll();
    List<Student> selectByName(String searchWord);
    int exists(String id);
}
